package cn.stylefeng.guns.modular.forecastElectricityInformation.pojo.request;

import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import java.util.Date;
import java.math.BigDecimal;

/**
 * 日前出清电量封装类
 *
 * @author 我是谭先生🐻
 * @date 2025/03/14 16:23
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class QyuanPowerSdDayAheadClearedTotalEnergyRequest extends BaseRequest {

    /**
     * 日前出清总电量信息ID
     */
    @NotNull(message = "日前出清总电量信息ID不能为空", groups = {edit.class, delete.class})
    @ChineseDescription("日前出清总电量信息ID")
    private Integer id;

    /**
     * 日期
     */
    @ChineseDescription("日期")
	private String usageDate;

    /**
     * 时间点
     */
    @ChineseDescription("时间点")
    private Integer timePoint;

    /**
     * 时间段
     */
    @ChineseDescription("时间段")
    private String timeSlot;

    /**
     * 交易节点电量
     */
    @NotNull(message = "交易节点电量不能为空", groups = {add.class, edit.class})
    @ChineseDescription("交易节点电量")
    private BigDecimal tradingNodeEnergy;

    /**
     * 交易总电量
     */
    @NotNull(message = "交易总电量不能为空", groups = {add.class, edit.class})
    @ChineseDescription("交易总电量")
    private BigDecimal tradingEnergy;

}
